<?php
use core\Route;
Route::get('/','IndexController@index');
Route::get('page/(:num)','IndexController@index');
Route::get('article/(:num)','IndexController@article');
Route::get('archives','ArchivesController@index');
Route::get('tags','TagsController@index');
Route::get('tags/(:any)','TagsController@index');

Route::get('admin','AdminController@index');
Route::get('admin/login','AdminController@login');
Route::get('admin/add','AdminController@add');
Route::get('admin/edit/(:num)','AdminController@edit');
Route::get('admin/del/(:num)','AdminController@del');
Route::dispatch();